import { checkNameForm } from "../commonFormRuler_string";
export default {
  component: {
    //展示型组件信息，每个组件的信息各不相同
    componentName: "enclosureUpload", // 组件名称
    settings: {
      // 对应的设置项， 可能不同组件设置也不尽相同。
      value: [],
      param: "enclosureUpload",
      picId: "",
      picIdPram: "",
      rule: {
        required: false,
        validator: checkNameForm,
        trigger: ["change", "blur"],
        msg1: "请上传附件！",
        msg2: "",
        api: "",
        type: 'Array',
        key: "siteDomain",
        params: {}, //校验传参
      },
      secretId: '',
      label: "附件上传",
      beforeText: "",
      afterText: "",
      maxCount: '',
      marginLeft: 32,
      accept: "",
      uploadTitle: "上传附件",
      multiple: true,
      extra: "",
      type: "singlePictrueUpload",
      optionValue: "",
      associated: "",
      associatedValue: true,
      listType: "text",
    },
  },
};
